import 'package:json_annotation/json_annotation.dart';

import "user.dart";
part 'repo.g.dart';

@JsonSerializable()
class Repo {
  Repo();

  num? id;
    String? name;
    String? full_name;
    User? owner;
    Repo? parent;
    bool? private;
    
  factory Repo.fromJson(Map<String, dynamic> json) => _$RepoFromJson(json);

  Map<String, dynamic> toJson() => _$RepoToJson(this);
}